﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using VideoCache.Server.MVCWeb.Areas.Member.Models;
using VideoCache.Server.BLL;

namespace VideoCache.Server.MVCWeb.Areas.Member.Controllers
{
    public class CompanyController : Controller
    {
        //
        // GET: /Member/Company/

        public ActionResult Index()
        {
            var list = AgentBLL.FindAll(null, null);

            return View(list);
        }

        public ActionResult Edit()
        {
            return View();
        }

        [HttpPost]
        public ActionResult Edit(CompanyModel model)
        {
            if (ModelState.IsValid)
            {
            }

            return View(model);
        }
    }
}
